package com.ruoyi.mateProcurement.mapper;

import com.ruoyi.mateProcurement.domain.MateProcurement;
import com.ruoyi.mateProcurement.domain.MateProcurementModel;
import com.ruoyi.material.domain.MaterialManufactuter;
import com.ruoyi.material.domain.MaterialProduct;
import com.ruoyi.product.domain.Product;
import com.ruoyi.purchase.domain.PurchaseOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateProcurementMapper {
    MateProcurement selectMateProcurement(Map<String, Object> resMap);

    List<MateProcurement> selectPurchaseOrderNumList(Map<String, Object> resMap);

    int insertMateProcurement(MateProcurement mateProcurement);

    int insertMateProcurementModel(MateProcurementModel mateProcurementModel);

    void deleteMateProcurementById(Long mateProcurementId);

    public List<MaterialProduct> selectProductLists(MaterialProduct materialProduct);

    public List<MateProcurement> selectMateProcurementList(MateProcurement mateProcurement);

    public void deleteProcurement(Long mateProcurementId);

    public void deleteProcurementModel(Long procurementNo);

    public void removedeleteProcurementModelById(Long mateProcurementId);

    public int updateProcurement(MateProcurement mateProcurement);

    public int updateProcurementModel(MateProcurementModel mateProcurementModel);

    public List<Long> selectProcurementWarehousingIdList(Long mateProcurementId);

    public MateProcurement selectMateProcurementBy(MateProcurement mateProcurement);

    MateProcurement selectMateProcurementByOrderId(Long mateProcurementId);

    List<MateProcurement> selectMateList(MateProcurement mateProcurement);

    MaterialManufactuter selctMateManufactuter(Map<String, Object> map);

    public List<MateProcurement> selectProcurement(Long deptId);

    public List<MateProcurementModel> selectMateProcurementModel(Long mateProcurementId);

    public MateProcurementModel selectMateProcurementModelRemodel(Long procurementNo);



}
